package com.jt.controller;

import com.jt.pojo.User;
import com.jt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * @outhor fufeixiang
 * @date 2021-04-23
 */
@Controller
public class UserController {
    @Autowired
    @Qualifier("userServiceImpl1")
    private UserService userService;
    @Autowired
    private User user;

    public void addUser(){
        userService.userAdd(user);
    }
}
